row = 1

while row <= 9:
    col = 1
    while col <= row:
        print("%d * %d = %d" % (row, col, row * col), end="\t")  # \t在控制台输出一个 制表符，协助在输出文本时 垂直方向 保持对齐
        col += 1
    print("")
    row += 1
